Hi! The switching frequency in semiconductors is mainly determined by the maximum junction temperature during normal operation (normally 125ºC). So you have to estimate it in order to know if the desired switching frequency is feasible or not.
First you need to calculate the power losses from the IGBT datasheet. You will use the datasheet information about switching losses (Eon, Eoff and Erec) and the conduction ones (Vce, Von), which are normally a function of the collector current Ic.
Then, you'll need to estimate the junction temperature through a thermal equivalent circuit. In the datasheet you'll find the thermal resistances from junction-to-case. You'll also need the thermal resistance of the thermal interface and the cooling system you're intended to use.
Then you are able to check if you're below or above the temperature limits. This can be performed interactively by changing the switching frequency.
A simple MATLAB script should be enough for this purpose.