If you suspect you have a problem with gluten and lactose, go to the Doctor and get a proper diagnosis, do not rely on Dr Google.
simply cutting food groups out of your diet is no guarantee of weight loss.
I personally follow a very strict keto lifestyle, which does work well and is healthy but is not for everybody, I also have a number of allergies including wheat (not coeliac) however this way of eating does require a dedication to meeting all nutritional needs and is no guarantee of weight loss as calories still count.