Yes, the manual page for `picom` explains how to set opacity rules for specific windows based on their name or class.
>
> --opacity-rule OPACITY:'CONDITION'
> Specify a list of opacity rules, in the format PERCENT:PATTERN,
> like 50:name *= "Firefox". picom-trans is recommended over this.
> Note we don’t make any guarantee about possible conflicts with
> other programs that set _NET_WM_WINDOW_OPACITY on frame or client
> windows.
>
For example, if you want any window that has `Netflix` in its name to always be of 100% opacity, you would put this in `~/.config/picom/picom.conf`:
opacity-rule = [
"100:name *= 'Netflix'"
];
If you have something like `inactive-opacity = 0.90;` that makes inactive windows semi-transparent, you can also add `inactive-opacity-override = false;` to make sure it doesn't conflict with the rules.