Not entirely. For text fields and buttons, clicking them will usually work even if their window is in the background. But clicking them will also focus the background window.
If you don't want to focus the background window -- or you want to use an element that can't be used if the window is backgrounded -- then holding 'cmd' will pass the click through.