Connecting Mobile and Web app

Hey everyone, can you create a separate web app and then a mobile app (native) and connect them together?