Event triggering inside always block

Hi , can you please let us know. can we use @(posedge clk) statement inside the always block. if it is not can you please tell me the approach how to recreate this scenario.
logic prev;
always @(posedge d)
begin
prev = d;
@(posedge clk);
@(posedge clk);
force b = ~prev;
@(posedge clk);
release b;
end

Thanks

In reply to srikanth.verification:

Did you try it? Did it work? Did it not work?

In reply to cgales:
It is working, but my mentors are telling it will give improper results but I’m not seeing any improper results. So I want to know can we use it or if not why?

In reply to srikanth.verification:

There is nothing wrong with your code. It will work fine and give you the results you expect.

I’m not sure why someone is telling you it will give improper results.

The code isn’t synthesizable, but it’s valid behavioral code.