But before that, the crucial question: is PokerTracker worth getting? If you're serious about improving your game, then yes! It's great for tracking, stats and analysis, and is well worth the price tag (if used properly, it should pay for itself).
Yes. Poker HUDs are legal and the majority of poker platforms allow HUDs on their side. HUDs track/record player information and process it to present in the form of numbers and percentages. Players use these numbers and percentages to know about their opponents' playing style.