It will depend on the destination. In general (and even more so now), if you are travelling on separate tickets you need to be eligible to enter the intermediate country to pull it off. Simply assuming that they will let you transit airside is not advisable. Remember, you don't have a connection.