It is easy enough to replace the SSD on MBAirs, RAM is quite a bit harder though as it is soldered onto the logic board. Consequently i havent seen replacement kits being offered, but some workshops can do it of course.
My oldest MBAir (2010 vintage) runs yosemite just fine, but i always buy the top of the line configuration which might make it easier.