The scholarship counts against basketball unless they’re playing football then it will always count against football.
If they’re not in scholarship there’s no issue.
Teams were using Olympic sports scholarships to recruit for football and basketball before.