While this may be an option in some cases, this wouldn't be an open source project.
Openness is much more than “source available”. Open for use by others is an important part of that.
i.e. https://www.synopsys.com/blogs/software-security/unlicensed-...