Better confined, than to come home to a hurt yorkie

Just think how big a room (even a bathroom) is to them, according to their size. Anyway, I bet they nap all day and don't even care. If they get used to it when they are young, thats all they know, it is their routine, and they feel safe in their space. So don't feel bad.