By design, my 3D printer couldn't do exactly that when printing holes of 1.3mm to 1.4mm. The hole actually completed is about 0.8 mm (hole with the thickness of the sewing needle)
I made a hole about 5 mm in the cap of the PET bottle and attached the printed nozzle with itant adhesive (for plastic / PP, PE compatible).
Even if the contents of the bottle were lacquer thinner, the nozzle did not come off.
I tried to print the cap itself, but the airtightness could not be maintained and it leaked from the screw part.