If you want to use it for testing purposes then yes it is a good way to use it, but for real world applications that needs resilience you should rely on servers to install broker nodes.
The problem that kubernetes is trying to solve is to scale up and scale down your services based on the load of your processing so it fits the bill for providing intelligent computing orchestration. In order to learn about all these things in details and also want to learn Kubernetes and to have a decent and valuable certificate then you can visit Intellipaat Kubernetes Training course. If you like to read the concepts than you can read the following Kubernetes tutorial. You can also watch the video tutorials free of cost on Youtube visit the link mentioned-below:-