Sure, but you just mentioned an unreasonable salary. If the median is $100k, then that's reasonable, and the person only gets to avoid SS and medicare on any additional profit.
I operate as an s-corp and pay myself a reasonable salary, matching that of the salary I could get in the current job market in the area I live in. Anything I clear above this is only taxed with my regular taxes.
If I was running a C-Corp instead of an S-Corp, I'd get my $100k salary, and any extra would have been taxed at the 30% corporate rate when it was taken in, then the 20% capital gains when it's distributed to me as profit.