Is it possible to hide source code when releasing framework through Swift Package Manager?

We can add dependencies through SPM providing GitHub repo URL. Is there some way to hide source code?

Nope. See SPM Support for Binaries Distribution.