As you said, you could add an operational layer with alpha="0.0" and exclude from the TOC.
This would initialize, but would never be visible to the user.
I'm sure there is a more "proper" way to do this, but, this is ESRI afterall, so thought I'd chime in with a potential "work around" 😮
R_