Yes, gambling, whether online or in a land-based casino for real money, is legal in the UK from the age of eighteen.