W.W.II bombers would have made good tankers, so why were there no tankers in W.W.II?
My guess is that the powers in charge could not see the benefit, just like the AF higher ups who blocked side firing gunships for many decades.
The RAF was just getting a system put together at the end of the war, intended for Tiger Force in the Far East. It was baed on the pre-war Flight Refueling Limited system.
Imperial Airways had used the system for their cross-Atlantic 'C' class Empire flying boats. I do not remember the exact number but IIRC it had been used at least 15 times on the route - without any serious problem - by the time WWII started and the refueling operations ceased.
The book "Low on Gas - High on Sky" is a good read about the first non-stop flight across the US. The challenges of first generation aerial refueling is quite fascinating.