Can we deploy any Network fuction such as Router or Firewall using kubernetes

Can we deploy any Network Function using Kubernetes?