Yes, the FO is allowed to take over control from the captain on his own initiative, if the circumstances justify it. Basically if the FO deems that the actions of the Captain are an imminent safety risk to rhe aircraft, he/she must assume control of the aircraft.