It is possible the ECU is bad, and I've had it suggested before. However, being an electrical engineer, I find it very unlikely that an ECU would just "go bad". They should be one of if not the most dependable electronic component on the car. I would be inclined to suspect many other parts before giving in and replacing the ECU as a last resort. In my case, I don't have any strange codes to suggest it, just strange operating characteristics.
All that said, strange things happen and it very well could be the ECU.
Mine: 2008 Saab 9-3 Aero SportCombi XWD: 88k, Black, Manual, JZW Stage 1. 320hp/400tq.
Gone: 2002 SVT, #1654
Hers: 2010 Focus SES: 80k, Ebony, Auto, Moon and Tune