Yes, provided your machine meets the game's system requirements. PC games are not region-locked the way consoles historically were, so a US-bought disc installs and runs on a UK system without issue.
The complication is money, not compatibility. Importing from the US can make you liable for VAT and import or excise duty on arrival, which can wipe out the saving that made the import attractive. Check the current thresholds before ordering, and remember that a physical disc may still need an online activation service that is account-based rather than region-based.