It is sunnah muakkidah to offer salah with jamah. Hence one should maintain it necessarily. However, doing imamah or being Imam for any salah is not necessary, except if there is none who can become Imam in your mosque.
Allah (Subhana Wa Ta’ala) knows Best
Darul Uloom Deoband