You can't have both. "Hardware security" means the manufacturer decides which OS can run and you can't override it.
There are still many unsolved problems in hardware security, so this is definitely not solved today. But I don’t see why it should be impossible. The EU could push the industry toward attestation models that respect user ownership instead of locking everything behind vendor-controlled software.