Yes, you can unlock him — complete all of Soleanna's missions with Sonic, Shadow, and Silver.
That is the requirement, and it is a substantial one. You are not just finishing the story with each character; you have to clear the full set of town missions for all three, which is the part players underestimate. A lot of people finish the main campaign, notice Knuckles is still locked, and assume the answer must be something else. It is not — the mission list is the gate.
Knuckles is not playable in the story itself, which is why the unlock feels like it should have a more specific trigger. Treat him as a completion reward for having done the side content thoroughly with the three main characters.
If you have done all the missions and he still has not appeared, the likely explanation is one mission you believe you finished but did not — worth going back through the list and confirming each is actually ticked off.