How to turn off denoising for certain objects? (UPBGE)

Is it possible to have Viewport Denoising ON in the “Render Properties” panel, but have it OFF for certain objects? I heard this may be possible using layers but I am not sure how to do it. Thanks.

Replied at BSE.

https://blender.stackexchange.com/a/250761/123064