Given a travel related situation, and given a specific question about the situation, summarize the question into a title

I have a 10 year tourist visa for the US and have been back and forth to the US for some years now visiting my partners family, she is American by birth.
We decided to get married after being together for 3 years.

Our intention is to go to the US in the summer, get married and celebrate with her family, and then come back to my home country where we both currently live permanently.

My question is, can we get married on the tourist visa if our intention is to return to our current country of residence?

I've had my own business for a long time here as well as other assets that can easily be proven to show that our intention is to return home, my partner has a job here and we stay together in an apartment that we rent and have a lease for, so lots of information to provide to the customs agent on arrival to show our intent is to marry and then leave to come back home.

Furthermore, we might decide to apply for a green card for myself in a few years time, but for this trip we have no intention of getting married and staying in the US and applying.

If anyone has some experience with this is would be greatly appreciated - thanks.
Getting married in the US on a Tourist Visa