There are different types of accommodation in Nepal, such as Homestays or Community Homestays.
Homestays allow you to stay with a local. Community homestays allow you to live in the home of a local/community for a given period (1/2/3 days) and experience the Nepalese way of life. Not only will you sleep with the locals, but you’ll also participate in daily life, such as preparing meals. They can also show you their culture, accompany you to their village and show you around, do different activities with them, etc. Don’t expect anything luxurious, of course.
This way of traveling in Nepal is really very interesting, as it will allow you to see the real Nepal and above all to contribute to its development and help the local population.