Of course. It’s just that these patches will be part of the temporary group using the let command as follows:
let targetedGroup patches with [someValue = true]
Then just ask a certain number of these patches to do something using n-of:
ask n-of 1 targetedGroup [
sprout 1 [
set color blue]]
* : , , . ifelse, , .