Legality depends on your location, but wagering on sports as an individual is not unlawful under US federal law. The landscape can be grey in some areas, but individual bettors are not law enforcement targets. You should be fine placing bets online but always check your local laws.