No, sadly, I had to manually edit the player NBT data in my save file to force kill myself. It was after(?) I killed a gravity creeper. I must have killed it at the same time it exploded, because time then 'froze', I could break blocks, but no items would drop, I could move, I could place blocks, I couldn't harm mobs and they just stood there, not moving but their animations were playing. Man, it was really weird.
Pros of freezing time:
+Immortal
+No need to worry about hunger, it never went down
+No fatigue, it never changed either
+Mobs can't attack me
Cons:
-Couldn't attack anything
-Couldn't get drops from mined blocks
-No new chunks loaded from the time of "the incident"
-Chat didn't work, so I couldn't use /kill, had to edit NBT data to force a death and reset
Interesting side effects: When loading up the world after the manual suicide, I was teleported to the place the creeper had exploded, none of the placed/mined blocks from the frozen time were there. Day/Night cycle still functioned correctly. I have lot of screenshots if you want to see a bit.