Sure. Send the signal, the signal handler - custom or default - handles it. This works whether the signal comes from another process or its own process.