is lannister a real last name?
No, its a made up surname. But it is a twist on “Lancaster” which is the House on which House Lannister is based on. Many of the powerful houses have a real life medieval house that they are based on, or the names at least. Such as House York for Stark (which means strong in German).