That is an excellent idea, doesn't your phone continue to use power after it's done charging? This wouldn't produce a ton of Bitcoin but it would be an opportunity for a net-positive outcome from a cost perspective which is clever.
Why would anyone buy a $400 mining chip that costs more in electricity than it produces in bitcoins, when they can just buy $400 worth of bitcoins? Beats me...