There’s absolutely no reason you can’t write in ANY genre if you are prepared to put the work in. Genre is craft. Craft can be learnt. So learn the conventions of the genre you want to write. Watch all the movies in that genre, big and small; read all the scripts. Go to events, learn about it. Read articles, blogs, soak it all up.