I did that two years ago when flying from Los Angeles . Not to save money but travel plans had changed so it was better to get off in Amsterdam instead of continuing to London. It took a lot of convincing to get the airline to stop the bags in Amsterdam. Finally they did it but we got a stern warning to never do this again. Not sure if there would have been a ban but they really really really didn’t like it.