Controlling peripherals from the GPU

Is it possible to directly control the TX2’s peripherals (eg, GPIO ports or SPI modules) directly from the GPU? By that I mean having a CUDA kernel with the required drivers inside it to directly write to the memory regions associated with the desired peripherals rather than having to go through Linux.