Yes, FC Playtime does not differentiate between time spent actively playing matches and time spent in menus. All time spent with FC 24 open will count towards your ‘time spent’ duration.