Thats imho the best way to learn. But if no takers, you have other options. A small trailer sailer is a good self learning
platform, and a used one can often be resold at small or zero net loss when you upgrade to a bigger boat. Something to consider. A smaller boat in protected waters is easier for a newbie to handle. Of xourse you can still screw up with a smaller boat but usually with lesser consequence.
You might also check local clubs and schools for classes