is there a way to use a gas stove to supply hot water needs?
In the US, hot water is often generated by the furnace. These specially designed units have a dedicated coil in the firebox that allows cold water in one end, circulates it through the coil and expels hot water from the other. The benefit (as you suggest) is the use of just one device for both room and water heating. The disadvantage is the main furnace is kept active, even in warm weather, to ensure ongoing access to hot water, a slightly less efficient system.

In theory, you could create a copper coil to run water through a heated area of your stove.  However, this presents numerous complex problems of temperature, routing, sealing, all of which are beyond the skill of most dedicated DIYers. The risks are gas leaks, fire, explosion, water leaks, flood, and a plague of locusts.

Don't try it!