Hello and welcome to hcm forum,
As you suspect the hole in gums arise due to ulcerous condition.
LOcalised periodontal infection
also can cause this.
I suggest you to get scaling done.
Bone loss and periodontal pocket
formation can be checked through x-ray and clinical examination.
Depending on the condition,treatment can be planned.
Vitamin supplements and plenty of nutritious rich food has to be taken.
Hope this helps.