yes. most trainers fit (the resistance unit moves to reach for the smaller 26'' wheels)
You could get a cheap back wheel with a trainer tyre (note: these are not for road riding) or a slik 26'' tyre, and exchange when you still want to go for a road ride.