If you were able to do this I think you’d find card readers built into laptops would be much more ubiquitous. It’s very commonly an option on business laptops already (probably thanks to the US government making heavy use of contact smartcards).
And as for transactions on mobile phones, most of them have NFC as well; contactless payments could work there too.