Given /baninfo only gives current bans it would be impossible to use yourself, unless ban evading, but if you try logging in while banned it will show you the same information. Seems like you're asking to see your own /banhistory. If you really wanted to know this you could always ask a staff member and see if they would tell you what your bans were, but that's only if they will.