Yes, you can remove laptop battery & use it by plug-in to electric socket. But your laptop will shut down instantly in case of power failure. Good Battery provide us good power backup. If battery is not in working condition then you can remove it & use usual power supply. I recommend you to use laptop on battery because often instant shut down can cause failure of RAM, Motherboard & all important components.
Welcome to the Dell Community @Madhan11
Yes you can run the laptop as a desktop without the battery connected or installed.
If you are having "Swollen Battery" issues then remove the battery immediately!!!
Handling swollen Lithium-ion batteries:
Inspiron 15 7000 Gaming Service Manual: