Hidden City
You could do this if you didn't check bags...
You would not get credited any miles for the flight(s).
If the airline notices a pattern of hidden city bookings you can have your frequent flyer status/miles revoked. That being said, have I carried on and booked hidden cities before? You betcha.