Applying the Background--Source Separation algorithm to eROSITA simulated data