I can write in the same way. It's spoken English. Yes,I'm is Ok. The context is clear from the previous question. I think everything is clear for you now.
It's not OK to say "Yes, I'm." That was the whole point of the follow-up posts. The standard format is "Yes, I am." --- no matter whether written or spoken. This is one situation where I and am are never contracted.