Yes. Since the introduction of the Gambling Act of 2005 it is legal for residents of the UK to gamble. Gambling online included.