Can I wear pajama to pray in? It’s like a one piece pajama cover all, not a dress. Is that ok for home?

If there are no na mahram present then you can wear this for namaz. Just make sure the ankles are covered