Deploy a docker container using Kubernetes API

I have a healthy cluster of Kubernetes of 3 nodes. I am able to install my docker containers using kubectl. I would like to know if there is a way to install docker containers using API provided by kubernetes? I looked at the documentation of official java API but I am not sure I could find anything that could help me to create docker containers using docker images I have.

I would really appreciate any help in this regards.

Cluster information:

Kubernetes version: 1.18
Cloud being used: bare metal
Installation method: microk8s
Host OS: Ubuntu 18.04
CNI and version:
CRI and version:

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.