I'd be in violation of your visa/visa waiver. I have to pay UK corporation tax, something you won't be able to do with a National Insurance number (right to work in the UK) or working on a work visa or something.
I have American friends that have come and worked in the UK, but all for companies, none have setup themselves, so not sure if it's possible.