You asked

Is the canon rf 100mm f 2 8l macro is usm good for portraits?

Yes, with a caveat. The Canon RF 100mm f/2.8L Macro IS USM is a capable portrait lens, but the guide doesn't rank it as a first choice for people. Portraits favours an 85mm f/1.8 for the classic full-frame look and a 135mm or 70-200mm f/2.8 for tight headshots. On full frame, this lens's 100mm sits between those, and it's stabilised and autofocuses, which helps when people move.

Its weak point for portraits is the aperture. At f/2.8 it gives less background blur than an f/1.8 or f/1.4 lens, so you'll need more distance between your subject and the background, as the aperture section explains. Its strengths are the focal length, the stabilisation and its macro ability if you also shoot close detail.

It fits these bodies from the lens page:

If you shoot in small rooms or want one lens for everyday portraits, the guide would start you with an 85mm or 50mm instead.

Written by Claude from this site's pages.

The answer changes if

Ask next

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.