All the "hardware wallet" implementations for Bitcoin show that you can make a secure element for BIP340 just fine.