...
Yes, of course you can. Just use different SIGHASH than SIGHASH_ALL. Many people don't believe such things are possible, so maybe I should create some transaction in testnet to demonstrate that.
0200000000010157c810eb18266e2a09e6f244c38f00731f6c1a29765dc3d1fd5142477101b2660100000000fdffffff01a0860100000000001600145df5785bcc56cd3079a798a9bdbbf45dd3217c000247304402204d6b7bfffbe03b4e17aa08ce42ac12aff30a8f68dd58d19b6b3a9be9535ab328022058de9a2b17369dc326c289728ebf9a27df1c41e43feb81c9c6ca627544bfc0c3832102f37ddcc9aa8bec6ab201519e2d4de3d9ad2e99a566cf0b2232351ea6ac1f984400000000
This is testnet3 transaction that could consume 0.00074000 tBTC and send 0.00100000 tBTC back to me. If you want to see that in action, you can add your own inputs and give me some test coins (and also pay my fees). Also I can change it to some 2-of-2 multisig and create a closing transaction if you want to get my coins immediately after testing such feature.
I just decoded the transaction you posted, this will help to the users to understand it better
{
"addresses": [
"tb1qfdte9urq8qcej28uyu9dhar6j593rg7t9pncpv",
"tb1qth6hsk7v2mxnq7d8nz5mmwl5thfjzlqq5jlvnv"
],
"block_height": -1,
"block_index": -1,
"confirmations": 0,
"double_spend": false,
"fees": 0,
"hash": "0507f906ba3fd0f4f35d990f299d825eb2fae2191ff52c5eec99f77ca6bf4e3d",
"inputs": [
{
"addresses": [
"tb1qfdte9urq8qcej28uyu9dhar6j593rg7t9pncpv"
],
"age": 2191113,
"output_index": 1,
"output_value": 74000,
"prev_hash": "66b20171474251fdd1c35d76291a6c1f73008fc344f2e6092a6e2618eb10c857",
"script_type": "pay-to-witness-pubkey-hash",
"sequence": 4294967293,
"witness": [
"304402204d6b7bfffbe03b4e17aa08ce42ac12aff30a8f68dd58d19b6b3a9be9535ab328022058de9a2b17369dc326c289728ebf9a27df1c41e43feb81c9c6ca627544bfc0c383",
"02f37ddcc9aa8bec6ab201519e2d4de3d9ad2e99a566cf0b2232351ea6ac1f9844"
]
}
],
"opt_in_rbf": true,
"outputs": [
{
"addresses": [
"tb1qth6hsk7v2mxnq7d8nz5mmwl5thfjzlqq5jlvnv"
],
"script": "00145df5785bcc56cd3079a798a9bdbbf45dd3217c00",
"script_type": "pay-to-witness-pubkey-hash",
"value": 100000
}
],
"preference": "low",
"received": "2022-03-23T16:31:10.151152928Z",
"relayed_by": "3.94.98.131",
"size": 191,
"total": 100000,
"ver": 2,
"vin_sz": 1,
"vout_sz": 1,
"vsize": 110
}
And you are right, the inputs are smaller than the outputs. And this is possible while we create the transaction, but when we try to push the transaction we will get an error on the network as you can see in the next image:
Error validating transaction: Sum of inputs 74000 lesser than outputs 100000.