Absolutely! Security when purchasing dedicated servers is even higher than when purchasing a VPS, since if, theoretically, the hosting server is hacked, then an attacker can easily gain access to the VPS located on it. At the same time, the security of a Dedicated Server, of course, if configured correctly, is practically unlimited and depends only on the qualifications of the specialist who configured and protected your dedicated server.