I've done this several times with very good results. If you avoid peak school holidays and major events you can do extremely well. The only issue might be high speed trains (if you plan on taking those) - those tickets start out cheap and tend to rise over time. Some trains sell out.