No - it cannot be done. Unless you are in C and can use Immigration Fast Track average wait time is 10-20 minutes, then add 10 minutes to wait for baggage pick up and when you then reach the check-in counter upstairs flight will already be closed for check-in.
Better start looking for Plan B now.