Yes! The FIDE ID is a unique identifying number assigned to each player by FIDE. It does not matter where and how you've obtained it. The FIDE ID is unified for both otb and online FIDE-rated activities.
Should I choose "I already have FIDE ID" upon registration?
Did this answer your question?