Yes to Macbook models: A1708, A1398, A1502, A1425, A1466, A1465, A1370, A1369.
No to Macbook models: A2289, A2251, A2159, A2141, A1990, A1989, A1707, A1706, A2179, A1932, A1534.
All iMacs can be upgraded to faster, larger solid state disk (SSD)