Yes, as long as you’re not discriminating based on protected classes or characteristics, you can conduct reference checks for certain roles but not others. Read more: Link