No, it is not improper. "Lift Every Voice and Sing" (the Black National Anthem, written 1900 by James Weldon Johnson and J. Rosamond Johnson) is a powerful song of resilience, faith, and hope.
Its lyrics—praising God, acknowledging past struggles, praying for guidance—align with hymn themes. It is sung in both secular and religious settings as a symbol of unity and pride.
The order (Pledge → Anthem → Lift Every Voice) reflects an inclusive patriotic practice acknowledging both national and cultural heritage.