Yes, Osborne's work was controversial. This is because it was seen as a criticism of the British class system, and as a challenge to the status quo. It was also seen as being anti-establishment and subversive. This led to Osborne being criticised by some, and being praised by others.
The Theatrical Journey of John Osborne: Test Your Knowledge on the Iconic English Playwright