When ending a sentence with a question mark (?) you are asking the person or people you are talking to a question for which you would like an answer. Here you are asking permission to do a particular action.
'I'm' is an abbreviation for the word 'I AM.' It is used in combination
with other words to tell someone about yourself or to describe
something you are doing.