Question about using virtual pins

Iā€™m using a ESP32 and I need to use GPIO18. Blynk 2.0 only arrives to D13. I have defined a virtual pin V5 to digitalwrite a led connected to pin GPIO18. If I only define V5 in datastream in app and not GPIO18, it would work the digital output 18? I thought is mandatory to define as a digital output in app