Yes of course,but you will need to devote a lot of time to both. Be rigorous with yourself.
What is important is to start the study as early as possible in order to avoid time crisis and issues in work and social live (I tell you this from experience).
I am currently working full time whilst studying F5 and F6 and I am finding it quite a struggle. I don't have anywhere near as much time as I would like and therefore feel like I can't give my studies the focus and attention I want. I am looking into options for working part time as I am massively unhappy with the amount of time I am giving my studies. I have given up most of my social time already which isn't a problem as my studies are my priority, but personally I still feel like I am short of time.