SPSS would not the best tool for qualitative research but I suggest using NVivo, I believe it is a paid software but offers a very clean approach. If you are not dealing with a significant amount of data, you can just code the responses on MS Word and use thematic framework approach to group the codes and analyze quantitatively.
No, you can't carry out qualitative data analysis using SPSS. In fact, you don't need a software for qualitative data analysis. I have published an article in a journal by SAGE wherein I have used the RADAR technique of analysing qualitative data without the use of any software.
Article Working with adults with intellectual challenges to enhance ...
SPSS (Statistical Package for the Social Sciences) primarily handles quantitative data. While it's not designed for qualitative data analysis, you can use it to code and transform qualitative data into numerical values for certain analyses. However, for in-depth qualitative analysis, specialized software like NVivo or MAXQDA is more suitable. SPSS is most effective when working with numerical, categorical, or ordinal data for statistical analysis.