Is there any way to run service container on Ubuntu and connect from Windows?

I know service containers can run only on Linux runners.

But I wonder is there any way (or workaround) to access this container from a windows runner in the same workflow?

Example pseudo GitHub action below:

runs-on: ubuntu-latest
services:
  consul:
    image: consul
    ports:
      - 8500:8500
---
runs-on: windows-latest
- name: Connect to service container created on previous step
  run: curl http://localhost:8500