As long as you do that with your own money (or money got freely given from other people), sure.
If you use taxpayer money, that's a different game.