Record activities with two apps

I want to utilise the training app Zwift.  It's far better than the TacX training software.  However, if I use Zwift it does not log miles towards badges on Garmin Connect.  I got around this by using Zwift for the training but also logging the session on my Fenix 5 watch.  The problem with this workaround is that it does not take into consideration ERG and simply logs speed based on how fast you pedal.  Or something like that anyway - the distance on my watch at the end was around 3km different to the distance logged by Zwift.  My watch also does not log power so I am lacking a lot of stats.

As an alternative I tried recording the session using TacX on my laptop (Ant+) while using Zwift on my tablet (bluetooth).  This doesn't work as my laptop immediately lost connection when I connected my tablet.

So.  Is there a way to use Zwift but also log the session on Garmin so that it counts towards training and badges?