Is it possible to not allow simultaneous log in?

Let’s say a user logs in on chrome and then also logs in on firefox. Is is it possible to not allow this? A user can only log in at one device/browser at a time.