Probably yes.
the Revit API to handle linked elements visibility is new and not complete, it would work with 2024+
Maybe a better / manual workflow would be to play with view templates:
- record view templates applied to every view,
- edit them to ‘not take care of the linked elements category visibility’
- create a template that does turn off categories in links and does just that, and apply it to every view
- re apply previous templates
Bold stuff could be done in a script to get there faster if you have to do it on multiple models, if not, manually should be faster