No, it's not. The very linked article and many others agree that people exposed to both scenarios have more effective, longer lasting immunity than the ones affected by either scenario individually.
And the adverse effect risk of a vaccine is not a lottery. At this point with billions of people vaccinated around the world, the risk profiles are pretty accurate, the side effects very well known and unless you are a kid under 18, all vaccines being widely distributed in western countries - which are the ones I cared to do any research on - are effectively zero risk.