I’ve been boiling water in the microwave for decades, the only dangerous thing about it is that it is hot like any boiling water. It’s also quick, efficient, doesn’t pollute your home like a gas stove, can be left on its own without fire hazard, and boil time is incredibly consistent.
Electric kettles are probably the best option, but a microwave is the second best option.