You can easily install your water softener to serve only your house and not your sprinklers (that’s how it’s usually done), thus retaining the ability to water your yard.
It does add salt to your tap water, so an RO system to remove the salt is a good idea if you have a softener. Especially if you’re on a salt-restricted diet. I think an RO system is a good idea whether you have a water softener or not. You don’t need a whole-house RO system, just one at the kitchen sink works for us.