I have an AFCI circuit breaker on my bedroom lighting as well as feeding light for the bathroom light and fan. Code requires afci for bedrooms but i also want to gfci protect the bathroom so i was thinking of using an inline GFCI somewhere. Is it ok to mix a gfci on a afci protected circuit? I was thinking of putting a box near the circuit breaker to make sure the entire line is gfci protected as well. Is this ok or would it be more ideal to put it closer to where i want the protecton?