Arduino: use SIM800/A6 GSM with custom SSL library (PPPos)

Hi,
I would like to use GSM (GPRS) network in my project.

Plain unencrypted HTTP/MQTT is not problem, but I want to use SSL.

I found some examples of HTTPS with SIM800, but no MQTTS.

Is possible to use SIM800/A6 for "raw tcp" communication with remote server and create HTTPS/MQTTS socket/layer in arduino?

I do not mean 8bit MCU, like ATmega328. I plan to use ESP32 or STM32 which has enough power and memory for SSL.

I found these two SSL libraries for arduino: GitHub - OPEnSLab-OSU/SSLClient: 🔒Add SSL/TLS functionality to any Arduino library and GitHub - arduino-libraries/ArduinoBearSSL: Port of BearSSL to Arduino

Is it possible? I cannot find anything about it.

Thanks for help.