This has been done already by projects like Tether (USDT). There is currently some... discussion as to whether they really have the assets to back it 1:1, but it does stay about even with the dollar on exchanges. Some coins also offer "price-stable" options such as BitShares.