Yes, there is.
Take about 6" of cord, maybe 1/8" dia and make a loop somehow, tie the ends in a figure 8 knot or something, doesnt matter.
Slide the loop thru a cordlock toggle, now you have a loop on each side of the toggle. Or you can tie the loop to the carabiner, or crimp it with a sleeve to look professional, etc.
snap small carabiner around the end that has your tied knot.
Stick bottle neck thru other end, and slide cordlock up to cinch it tight around bottle neck under ridge. Snap carabiner to anything.
Outdoor products used to make these and was sold at Walmart, but I havent seen them in several yrs, they were $2, but can make your own for cheap. I will snap an .5L bottle to my beltloop for short hikes this way.