Yes, A docker container can access the host network if it is started with the correct parameters and Docker host policies/controls allowing to do so. When a container is starting you can set the networking option with –network host option like
docker container run --rm -d --network host --name my_nginx nginx command.
In this way, the container network stack will be the same as the docker host network stack. When a process tries to listen to a port in the container namespace it will actually try to listen on the Docker host network interface.