Yes but when supermarkets started selling alcohol the prices dropped massively way below what pubs can do a pint for. Home drinking was big before covid it hasn’t changed much since then as people like to be social and the pub is still popular.
It was the best part of 40 years ago that supermarkets started selling alcohol.
For me the main reason is change of culture – example; 40 years ago we’d go to the pub at lunch, any day of the week from work. Sometimes Fridays were 2-3 hours then back for a coffee and natter, drive home. In fact in the early 80’s when I worked in Hull city centre, once a month we’d go to the lunchtime strip club, well the blokes would.