Boiler

Is it better for me to have an electric boiler instead of gas?

No.

Depends on what utilities are supplied to your house.
and what your priorities are.

Without more info as suggested by jjimjam generally I would say …No