Is it possible to create a replication controller and service for a containerized application using one configuration file (yml/json)
yes, you can have a normal yaml array of objects under List type, typical example can be found in the main repo like https://raw.githubusercontent.com/kubernetes/kubernetes/master/hack/testdata/list.yaml