Yes, you can recite other Duas and supplications in the mosque beyond the prescribed ones for entering or exiting. The mosque is a sacred space where supplications are highly encouraged. It is a place where Allah’s mercy is abundant, and it is a perfect environment for making personal prayers and supplications (duas).
The Prophet ﷺ said, “The mosque is the home of every believer.” Therefore, it is a place to seek Allah’s help, forgiveness, and blessings for anything in life. Whether it’s seeking guidance, asking for a remedy to personal struggles, or simply increasing your connection with Allah, the masjid provides the ideal environment for making heartfelt prayers. It is also recommended to engage in dhikr (remembrance of Allah) and Quranic recitation while in the mosque, further enhancing the spiritual experience.