Apple already has a device that allows this:
If you want something more portable Belkin offers this:
Alternatively you can use Bluetooth headphones and charge at the same time normally.
Page content loaded
Question: When is Apple creating an adapter for the iPhone to both charge and have headphones in?