Yes, it will work just fine as long as you use a genuine 13 tooth first position cog and lockring.
Friction makes it all so easy, there just needs to be sufficient space between the first and second cog for the 8 speed chain, no problemo with a 7 speed first cog.
__________________
Hard at work in the Secret Underground Laboratory...