Yes, but it wasnt used in very many roles during ww2.
Lets do a hypothetical situation.
If after the war, Spitfires were used for Long Range bombing missions, then would you class it as being a WW2 bomber? No, because it wouldnt have done any bombing during WW2.