Can we configure bgp with two different AS(for private and public) in a router

can we configure bgp with two different AS(for private and public) in a router…