Of course most likely your subdivision doesn't allow you to fire a gun or bow and arrow.
Your department of fish and game probably doesn't allow any other methods of take.
You probably can only legally kill rabbits at your house with a depredation permit. That makes it illegal to eat though, since it isn't intended for hunting.
Most likely if you put out a live trap or shoot them with a pellet gun nobody will care. It will be illegal of course, but up to you what risk you want to take or not take.
I would encourage you to buy a license to support the wildlife programs in your state.
I'd also suggest you follow the season. In the case of rabbits, it is usually set to the time of year they are least likely to have diseases transmittable to humans (at least it is in my state).
Also some regions you should avoid handling/eating rabbits, because of extra high prevalence of those diseases.
Where I live, I would do it. You'll have to research where you live.