RE and minimal 1st pillar (AHV/OASI) contribution

No, this would not be a way to avoid AVS contributions. There is a check that you work at least 50% and 9 months per year. Otherwise you pay AVS based on ~0.2% of your wealth

Discussion and link to federal communication with examples in this thread