You can. You change the profile shift or general tooth profile to avoid the undercut. And even if you have an undercut it's not the biggest deal. They're manufactured all the time. It's also noteworthy that min 17 teeth is only applicable to gears with a pressure angle of 20 degrees (as well as the no profile shift I mentioned).