Indeed, the UK received $3.3 billion from the Marshall Plan, more than any other country. So the immediate post war period would have been an good time for transformative investment in the railways, as was done in other European countries but not in Britain. By 1955 the financial situation was more difficult. 1948 was also a time of social upheaval and radical change, well suited to a move away from dinosaur industries such as steam locomotive construction and retraining the workforce in the new skills needed for electrification.
en.wikipedia.org
Another missed opportunity was that the BTC failed to take advantage of nationalisation to immediately undertake radical restructuring and rationalisation of the railways and create an integrated national network. Inefficient duplication of services and competition between routes could have been eliminated, and more basket case lines pruned. Instead the Big Four were allowed to continue much as before under public ownership.
The road haulage industry was also nationalised in 1948 and so freight transport could have been rationalised across modes, with earlier reform of the common carrier obligation and wagonload freight transferred to road where that was more efficient.
With such earlier modernisation measures, the railways would have been better financial shape by 1955, reducing the need for drastic action.