This could be implemented for example by Miniscript which is slowly making its way into Bitcoin. I suppose if there is enough demand for this, it will make its way into hardware wallets too.