Yes you can use an outdoor bug zapper indoors since they're rated for both indoor and outdoor use.
I use a bug zapper both outside and inside my house.
I keep a tray under the bug zapper to catch any bugs that get zapped and when they get zapped they fall into the tray to keep them from falling onto the floor for easier cleanup.