Yes, with additional modsec rules, anti-ddos measures, the http/3 protocol (and some other cool features), LiteSpeed is a lot more secure than traditional hosting.