No, there's no need to frame an oil painting under glass if it is on canvas. The exception is if the painting is done on paper or thin card, which should be framed under glass to protect the support from environmental damage more than the oil paint.
If you're wondering why you see art paintings under glass in a museum or gallery, this is as extra protection against vandalism and, if special glass is used, from damage through exposure to light.